/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.absisgroup.nt;

import com.absisgroup.nsc.utilities.GenericServlet;
import java.sql.Connection;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;

/**
 *
 * @author Hue
 */
public class NhapKho extends GenericServlet {

    @Override
    public int process(final Connection con, final HttpServletRequest request, final HttpServletResponse response) throws Exception {
        //debug [
        showAllParameters(request);
        //]
        //final String nquePk = request.getParameter("nquePk");
        writeToResponse(response, toJSONObject());
        
        return DONT_RUN_JSP;
    }
    
    private String toJSONObject() throws Exception {
        final JSONObject jsObj = new JSONObject();
        jsObj.put("success", true);
        jsObj.put("msg", "");
        
        return jsObj.toString();
    }
}
